If we don't remove the animation, we might leave a pending call
to _lockScreenShown() which would confuse our state tracking into
thinking we're active when we're not.
https://bugzilla.gnome.org/show_bug.cgi?id=700901
this._lockScreenState = MessageTray.State.HIDING;
+ Tweener.removeTweens(this._lockScreenGroup);
+
if (animate) {
// Tween the lock screen out of screen
// if velocity is not specified (i.e. we come here from pressing ESC),
velocity = Math.max(min_velocity, velocity);
let time = (delta / velocity) / 1000;
- Tweener.removeTweens(this._lockScreenGroup);
Tweener.addTween(this._lockScreenGroup,
{ y: -h,
time: time,